package com.basic.threadLocal;

public class ThreadLocalTest {

	private static final ThreadLocal<String> threadLocal = new ThreadLocal<String>();
	
	public static void main(String[] args) {
		threadLocal.set("test");
		System.out.println("main thread : " + threadLocal.get());
//		new Thread(new Runnable() {
//			@Override
//			public void run() {
//				System.out.println("child thread : " + threadLocal.get());
//			}
//		}).start();
	}
}
